Optimal. Leaf size=282 \[ -\frac {2 \left (c d^2-b d e+a e^2\right )^3}{3 e^7 (d+e x)^{3/2}}+\frac {6 (2 c d-b e) \left (c d^2-b d e+a e^2\right )^2}{e^7 \sqrt {d+e x}}+\frac {6 \left (c d^2-b d e+a e^2\right ) \left (5 c^2 d^2+b^2 e^2-c e (5 b d-a e)\right ) \sqrt {d+e x}}{e^7}-\frac {2 (2 c d-b e) \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) (d+e x)^{3/2}}{3 e^7}+\frac {6 c \left (5 c^2 d^2+b^2 e^2-c e (5 b d-a e)\right ) (d+e x)^{5/2}}{5 e^7}-\frac {6 c^2 (2 c d-b e) (d+e x)^{7/2}}{7 e^7}+\frac {2 c^3 (d+e x)^{9/2}}{9 e^7} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 282, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {712}
\begin {gather*} \frac {6 c (d+e x)^{5/2} \left (-c e (5 b d-a e)+b^2 e^2+5 c^2 d^2\right )}{5 e^7}-\frac {2 (d+e x)^{3/2} (2 c d-b e) \left (-2 c e (5 b d-3 a e)+b^2 e^2+10 c^2 d^2\right )}{3 e^7}+\frac {6 \sqrt {d+e x} \left (a e^2-b d e+c d^2\right ) \left (-c e (5 b d-a e)+b^2 e^2+5 c^2 d^2\right )}{e^7}+\frac {6 (2 c d-b e) \left (a e^2-b d e+c d^2\right )^2}{e^7 \sqrt {d+e x}}-\frac {2 \left (a e^2-b d e+c d^2\right )^3}{3 e^7 (d+e x)^{3/2}}-\frac {6 c^2 (d+e x)^{7/2} (2 c d-b e)}{7 e^7}+\frac {2 c^3 (d+e x)^{9/2}}{9 e^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 712
Rubi steps
\begin {align*} \int \frac {\left (a+b x+c x^2\right )^3}{(d+e x)^{5/2}} \, dx &=\int \left (\frac {\left (c d^2-b d e+a e^2\right )^3}{e^6 (d+e x)^{5/2}}+\frac {3 (-2 c d+b e) \left (c d^2-b d e+a e^2\right )^2}{e^6 (d+e x)^{3/2}}+\frac {3 \left (c d^2-b d e+a e^2\right ) \left (5 c^2 d^2-5 b c d e+b^2 e^2+a c e^2\right )}{e^6 \sqrt {d+e x}}+\frac {(2 c d-b e) \left (-10 c^2 d^2-b^2 e^2+2 c e (5 b d-3 a e)\right ) \sqrt {d+e x}}{e^6}+\frac {3 c \left (5 c^2 d^2+b^2 e^2-c e (5 b d-a e)\right ) (d+e x)^{3/2}}{e^6}-\frac {3 c^2 (2 c d-b e) (d+e x)^{5/2}}{e^6}+\frac {c^3 (d+e x)^{7/2}}{e^6}\right ) \, dx\\ &=-\frac {2 \left (c d^2-b d e+a e^2\right )^3}{3 e^7 (d+e x)^{3/2}}+\frac {6 (2 c d-b e) \left (c d^2-b d e+a e^2\right )^2}{e^7 \sqrt {d+e x}}+\frac {6 \left (c d^2-b d e+a e^2\right ) \left (5 c^2 d^2+b^2 e^2-c e (5 b d-a e)\right ) \sqrt {d+e x}}{e^7}-\frac {2 (2 c d-b e) \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) (d+e x)^{3/2}}{3 e^7}+\frac {6 c \left (5 c^2 d^2+b^2 e^2-c e (5 b d-a e)\right ) (d+e x)^{5/2}}{5 e^7}-\frac {6 c^2 (2 c d-b e) (d+e x)^{7/2}}{7 e^7}+\frac {2 c^3 (d+e x)^{9/2}}{9 e^7}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.33, size = 395, normalized size = 1.40 \begin {gather*} \frac {2 \left (5 c^3 \left (1024 d^6+1536 d^5 e x+384 d^4 e^2 x^2-64 d^3 e^3 x^3+24 d^2 e^4 x^4-12 d e^5 x^5+7 e^6 x^6\right )-105 e^3 \left (a^3 e^3+3 a^2 b e^2 (2 d+3 e x)-3 a b^2 e \left (8 d^2+12 d e x+3 e^2 x^2\right )+b^3 \left (16 d^3+24 d^2 e x+6 d e^2 x^2-e^3 x^3\right )\right )+63 c e^2 \left (5 a^2 e^2 \left (8 d^2+12 d e x+3 e^2 x^2\right )+10 a b e \left (-16 d^3-24 d^2 e x-6 d e^2 x^2+e^3 x^3\right )+b^2 \left (128 d^4+192 d^3 e x+48 d^2 e^2 x^2-8 d e^3 x^3+3 e^4 x^4\right )\right )-9 c^2 e \left (-7 a e \left (128 d^4+192 d^3 e x+48 d^2 e^2 x^2-8 d e^3 x^3+3 e^4 x^4\right )+5 b \left (256 d^5+384 d^4 e x+96 d^3 e^2 x^2-16 d^2 e^3 x^3+6 d e^4 x^4-3 e^5 x^5\right )\right )\right )}{315 e^7 (d+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(554\) vs.
\(2(258)=516\).
time = 0.75, size = 555, normalized size = 1.97 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 430, normalized size = 1.52 \begin {gather*} \frac {2}{315} \, {\left ({\left (35 \, {\left (x e + d\right )}^{\frac {9}{2}} c^{3} - 135 \, {\left (2 \, c^{3} d - b c^{2} e\right )} {\left (x e + d\right )}^{\frac {7}{2}} + 189 \, {\left (5 \, c^{3} d^{2} - 5 \, b c^{2} d e + b^{2} c e^{2} + a c^{2} e^{2}\right )} {\left (x e + d\right )}^{\frac {5}{2}} - 105 \, {\left (20 \, c^{3} d^{3} - 30 \, b c^{2} d^{2} e - b^{3} e^{3} - 6 \, a b c e^{3} + 12 \, {\left (b^{2} c e^{2} + a c^{2} e^{2}\right )} d\right )} {\left (x e + d\right )}^{\frac {3}{2}} + 945 \, {\left (5 \, c^{3} d^{4} - 10 \, b c^{2} d^{3} e + a b^{2} e^{4} + a^{2} c e^{4} + 6 \, {\left (b^{2} c e^{2} + a c^{2} e^{2}\right )} d^{2} - {\left (b^{3} e^{3} + 6 \, a b c e^{3}\right )} d\right )} \sqrt {x e + d}\right )} e^{\left (-6\right )} - \frac {105 \, {\left (c^{3} d^{6} - 3 \, b c^{2} d^{5} e + 3 \, {\left (b^{2} c e^{2} + a c^{2} e^{2}\right )} d^{4} - 3 \, a^{2} b d e^{5} - {\left (b^{3} e^{3} + 6 \, a b c e^{3}\right )} d^{3} + a^{3} e^{6} + 3 \, {\left (a b^{2} e^{4} + a^{2} c e^{4}\right )} d^{2} - 9 \, {\left (2 \, c^{3} d^{5} - 5 \, b c^{2} d^{4} e + 4 \, {\left (b^{2} c e^{2} + a c^{2} e^{2}\right )} d^{3} - a^{2} b e^{5} - {\left (b^{3} e^{3} + 6 \, a b c e^{3}\right )} d^{2} + 2 \, {\left (a b^{2} e^{4} + a^{2} c e^{4}\right )} d\right )} {\left (x e + d\right )}\right )} e^{\left (-6\right )}}{{\left (x e + d\right )}^{\frac {3}{2}}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.52, size = 399, normalized size = 1.41 \begin {gather*} \frac {2 \, {\left (5120 \, c^{3} d^{6} + {\left (35 \, c^{3} x^{6} + 135 \, b c^{2} x^{5} + 189 \, {\left (b^{2} c + a c^{2}\right )} x^{4} - 945 \, a^{2} b x + 105 \, {\left (b^{3} + 6 \, a b c\right )} x^{3} - 105 \, a^{3} + 945 \, {\left (a b^{2} + a^{2} c\right )} x^{2}\right )} e^{6} - 6 \, {\left (10 \, c^{3} d x^{5} + 45 \, b c^{2} d x^{4} + 84 \, {\left (b^{2} c + a c^{2}\right )} d x^{3} + 105 \, a^{2} b d + 105 \, {\left (b^{3} + 6 \, a b c\right )} d x^{2} - 630 \, {\left (a b^{2} + a^{2} c\right )} d x\right )} e^{5} + 24 \, {\left (5 \, c^{3} d^{2} x^{4} + 30 \, b c^{2} d^{2} x^{3} + 126 \, {\left (b^{2} c + a c^{2}\right )} d^{2} x^{2} - 105 \, {\left (b^{3} + 6 \, a b c\right )} d^{2} x + 105 \, {\left (a b^{2} + a^{2} c\right )} d^{2}\right )} e^{4} - 16 \, {\left (20 \, c^{3} d^{3} x^{3} + 270 \, b c^{2} d^{3} x^{2} - 756 \, {\left (b^{2} c + a c^{2}\right )} d^{3} x + 105 \, {\left (b^{3} + 6 \, a b c\right )} d^{3}\right )} e^{3} + 384 \, {\left (5 \, c^{3} d^{4} x^{2} - 45 \, b c^{2} d^{4} x + 21 \, {\left (b^{2} c + a c^{2}\right )} d^{4}\right )} e^{2} + 3840 \, {\left (2 \, c^{3} d^{5} x - 3 \, b c^{2} d^{5}\right )} e\right )} \sqrt {x e + d}}{315 \, {\left (x^{2} e^{9} + 2 \, d x e^{8} + d^{2} e^{7}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 58.17, size = 348, normalized size = 1.23 \begin {gather*} \frac {2 c^{3} \left (d + e x\right )^{\frac {9}{2}}}{9 e^{7}} + \frac {\left (d + e x\right )^{\frac {7}{2}} \cdot \left (6 b c^{2} e - 12 c^{3} d\right )}{7 e^{7}} + \frac {\left (d + e x\right )^{\frac {5}{2}} \cdot \left (6 a c^{2} e^{2} + 6 b^{2} c e^{2} - 30 b c^{2} d e + 30 c^{3} d^{2}\right )}{5 e^{7}} + \frac {\left (d + e x\right )^{\frac {3}{2}} \cdot \left (12 a b c e^{3} - 24 a c^{2} d e^{2} + 2 b^{3} e^{3} - 24 b^{2} c d e^{2} + 60 b c^{2} d^{2} e - 40 c^{3} d^{3}\right )}{3 e^{7}} + \frac {\sqrt {d + e x} \left (6 a^{2} c e^{4} + 6 a b^{2} e^{4} - 36 a b c d e^{3} + 36 a c^{2} d^{2} e^{2} - 6 b^{3} d e^{3} + 36 b^{2} c d^{2} e^{2} - 60 b c^{2} d^{3} e + 30 c^{3} d^{4}\right )}{e^{7}} - \frac {6 \left (b e - 2 c d\right ) \left (a e^{2} - b d e + c d^{2}\right )^{2}}{e^{7} \sqrt {d + e x}} - \frac {2 \left (a e^{2} - b d e + c d^{2}\right )^{3}}{3 e^{7} \left (d + e x\right )^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 612 vs.
\(2 (264) = 528\).
time = 0.89, size = 612, normalized size = 2.17 \begin {gather*} \frac {2}{315} \, {\left (35 \, {\left (x e + d\right )}^{\frac {9}{2}} c^{3} e^{56} - 270 \, {\left (x e + d\right )}^{\frac {7}{2}} c^{3} d e^{56} + 945 \, {\left (x e + d\right )}^{\frac {5}{2}} c^{3} d^{2} e^{56} - 2100 \, {\left (x e + d\right )}^{\frac {3}{2}} c^{3} d^{3} e^{56} + 4725 \, \sqrt {x e + d} c^{3} d^{4} e^{56} + 135 \, {\left (x e + d\right )}^{\frac {7}{2}} b c^{2} e^{57} - 945 \, {\left (x e + d\right )}^{\frac {5}{2}} b c^{2} d e^{57} + 3150 \, {\left (x e + d\right )}^{\frac {3}{2}} b c^{2} d^{2} e^{57} - 9450 \, \sqrt {x e + d} b c^{2} d^{3} e^{57} + 189 \, {\left (x e + d\right )}^{\frac {5}{2}} b^{2} c e^{58} + 189 \, {\left (x e + d\right )}^{\frac {5}{2}} a c^{2} e^{58} - 1260 \, {\left (x e + d\right )}^{\frac {3}{2}} b^{2} c d e^{58} - 1260 \, {\left (x e + d\right )}^{\frac {3}{2}} a c^{2} d e^{58} + 5670 \, \sqrt {x e + d} b^{2} c d^{2} e^{58} + 5670 \, \sqrt {x e + d} a c^{2} d^{2} e^{58} + 105 \, {\left (x e + d\right )}^{\frac {3}{2}} b^{3} e^{59} + 630 \, {\left (x e + d\right )}^{\frac {3}{2}} a b c e^{59} - 945 \, \sqrt {x e + d} b^{3} d e^{59} - 5670 \, \sqrt {x e + d} a b c d e^{59} + 945 \, \sqrt {x e + d} a b^{2} e^{60} + 945 \, \sqrt {x e + d} a^{2} c e^{60}\right )} e^{\left (-63\right )} + \frac {2 \, {\left (18 \, {\left (x e + d\right )} c^{3} d^{5} - c^{3} d^{6} - 45 \, {\left (x e + d\right )} b c^{2} d^{4} e + 3 \, b c^{2} d^{5} e + 36 \, {\left (x e + d\right )} b^{2} c d^{3} e^{2} + 36 \, {\left (x e + d\right )} a c^{2} d^{3} e^{2} - 3 \, b^{2} c d^{4} e^{2} - 3 \, a c^{2} d^{4} e^{2} - 9 \, {\left (x e + d\right )} b^{3} d^{2} e^{3} - 54 \, {\left (x e + d\right )} a b c d^{2} e^{3} + b^{3} d^{3} e^{3} + 6 \, a b c d^{3} e^{3} + 18 \, {\left (x e + d\right )} a b^{2} d e^{4} + 18 \, {\left (x e + d\right )} a^{2} c d e^{4} - 3 \, a b^{2} d^{2} e^{4} - 3 \, a^{2} c d^{2} e^{4} - 9 \, {\left (x e + d\right )} a^{2} b e^{5} + 3 \, a^{2} b d e^{5} - a^{3} e^{6}\right )} e^{\left (-7\right )}}{3 \, {\left (x e + d\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 448, normalized size = 1.59 \begin {gather*} \frac {\sqrt {d+e\,x}\,\left (6\,a^2\,c\,e^4+6\,a\,b^2\,e^4-36\,a\,b\,c\,d\,e^3+36\,a\,c^2\,d^2\,e^2-6\,b^3\,d\,e^3+36\,b^2\,c\,d^2\,e^2-60\,b\,c^2\,d^3\,e+30\,c^3\,d^4\right )}{e^7}+\frac {2\,c^3\,{\left (d+e\,x\right )}^{9/2}}{9\,e^7}-\frac {\left (12\,c^3\,d-6\,b\,c^2\,e\right )\,{\left (d+e\,x\right )}^{7/2}}{7\,e^7}-\frac {\frac {2\,a^3\,e^6}{3}-\left (d+e\,x\right )\,\left (-6\,a^2\,b\,e^5+12\,a^2\,c\,d\,e^4+12\,a\,b^2\,d\,e^4-36\,a\,b\,c\,d^2\,e^3+24\,a\,c^2\,d^3\,e^2-6\,b^3\,d^2\,e^3+24\,b^2\,c\,d^3\,e^2-30\,b\,c^2\,d^4\,e+12\,c^3\,d^5\right )+\frac {2\,c^3\,d^6}{3}-\frac {2\,b^3\,d^3\,e^3}{3}+2\,a\,b^2\,d^2\,e^4+2\,a\,c^2\,d^4\,e^2+2\,a^2\,c\,d^2\,e^4+2\,b^2\,c\,d^4\,e^2-2\,a^2\,b\,d\,e^5-2\,b\,c^2\,d^5\,e-4\,a\,b\,c\,d^3\,e^3}{e^7\,{\left (d+e\,x\right )}^{3/2}}+\frac {{\left (d+e\,x\right )}^{5/2}\,\left (6\,b^2\,c\,e^2-30\,b\,c^2\,d\,e+30\,c^3\,d^2+6\,a\,c^2\,e^2\right )}{5\,e^7}+\frac {2\,\left (b\,e-2\,c\,d\right )\,{\left (d+e\,x\right )}^{3/2}\,\left (b^2\,e^2-10\,b\,c\,d\,e+10\,c^2\,d^2+6\,a\,c\,e^2\right )}{3\,e^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________